package com.xur.springboot.mapper;

import com.xur.springboot.entity.details;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface detailsMapper {


    //根据id查询所有职位信息
    List<details> querydetailsByInternship_id(int internship_id);

    // 插入职位招聘信息详情表
    int insertDetail(@Param("detail") String detail,
                     @Param("internshipId") int internshipId);
}
